import request from '@/utils/request'

// 获取点检查巡列表数据
export function getSpotInspectionData(query) {
  return request({
    url: '/inspect/handling/list',
    method: 'get',
    params: query
  })
}

// 获取详情
export function getInfo(id) {
  return request({
    url: `/inspect/handling/getInfo/${id}`,
    method: 'post',
  })
}

// 点检处理——提交
export function editInfo(data) {
  return request({
    url: '/inspect/handling/edit',
    method: 'post',
    data: data
  })
}

